package com.gccloud.design.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 实现功能【角色实体类】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
@Data
@ApiModel("角色")
@Accessors(chain = true)
@ToString(callSuper = true)
@TableName("uic_role")
public class UicRoleEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private int roleId;

    @ApiModelProperty("应用编码")
    private String appCode;

    @ApiModelProperty("省份ID")
    private int province;

    @ApiModelProperty("角色编码")
    private String roleCode;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("备注")
    private String roleMemo;

    @ApiModelProperty("角色类型")
    private int roleType;

    @ApiModelProperty("删除标识")
    private int delFlag;

    @ApiModelProperty("预留分库字段")
    private int shardingId;

}
